<div class="box box-primary" xmlns:th="http://www.thymeleaf.org">
	<div class="box-header with-border">
		<h3 class="box-title">科室信息</h3>
	</div>

	<form id="deptForm" class="form-horizontal">
		<input id="type" type="hidden" th:value="${type}"/>
		<input id="deptId" type="hidden" th:value="${deptId}"/>
		<div class="box-body">
			<div class="form-group">
				<label for="department_code" class="col-md-2 control-label">科室编码<span
					class="colorred">*</span>：
				</label>
				<div class="col-md-4">
					<input id="department_code" class="form-control" type="text"
						name="department_code" bindname="department_code" btvd-type="required"
						btvd-class='btvdclass' maxlength="50" placeholder="科室编码..." />
				</div>
				<label for="department_name" class="col-md-2 control-label">科室名称<span
					class="colorred">*</span>：
				</label>
				<div class="col-md-4">
					<input id="department_name" class="form-control" type="text"
						name="department_name" bindname="department_name" btvd-type="required"
						btvd-class='btvdclass' placeholder="请输入中文名称" maxlength="50" />
				</div>
			</div>
			<div class="form-group">
				<label for="department_type" class="col-md-2 control-label">科系<span
					class="colorred">*</span>：
				</label>
				<div class="col-md-4">
					<select id="department_type" name="department_type"
						bindname="department_type"></select>
				</div>
				<label for="department_alias" class="col-md-2 control-label">科室别名：
				</label>
				<div class="col-md-4">
					<input id="department_alias" class="form-control" type="text"
						name="department_alias" bindname="department_alias" placeholder="请输入中文名称" maxlength="50" />
				</div>
			</div>
			<div class="form-group">
				<label for="telephone" class="col-md-2 control-label">科室电话：
				</label>
				<div class="col-md-4">
					<input id="telephone" class="form-control" type="text"
						name="telephone" bindname="telephone" maxlength="50" />
				</div>
				<label for="department_head" class="col-md-2 control-label">科室负责人：
				</label>
				<div class="col-md-4">
					<input id="department_head" class="form-control" type="text"
						name="department_head" bindname="department_head" maxlength="50" />
				</div>
			</div>
			<div class="form-group">
				<label for="hospital_id" class="col-md-2 control-label">所属医院<span
					class="colorred">*</span>：
				</label>
				<div class="col-md-4">
					<select id="hospital_id" name="hospital_id"
						bindname="hospital_id" btvd-type="required"
						btvd-class='btvdclass'></select>
				</div>
				<!-- 
				<label for="outpatient_attr" class="col-md-2 control-label">门诊住院属性：
				</label>
				<div class="col-md-4">
					<select id="outpatient_attr" name="outpatient_attr"
						bindname="outpatient_attr"></select>
				</div>
				 -->
			</div>
			<div class="form-group">
				<label for="department_introduction" class="col-md-2 control-label">科室简介：</label>
				<div class="col-md-10">
					<textarea id="department_introduction" class="form-control" rows="4"
						name="department_introduction" bindname="department_introduction"
						placeholder="科室简介 ..."></textarea>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<button id="cancel" type="button" class="btn btn-default pull-right">取消</button>
			<button id="save" type="button" class="btn btn-info pull-right mr30">保存</button>
		</div>
	</form>
</div>
<script th:if="${projectModel=='dev'}" th:src="@{/static/js/business/sysmanage/department/form.js(v=${#dates.createNow().getTime()})}"></script>
<script th:if="${projectModel=='product'}" th:src="@{/static/js/business/sysmanage/department/form.js}"></script>